<template>
  <div class="home-wrap">

    <!-- 轮播开始 -->
    <div class="show-carousel">
      <n-carousel autoplay interval='2000' loop>
        <img
            class="carousel-img"
            src="../assets/home/cup1.jpg"
        >
        <img
            class="carousel-img"
            src="../assets/home/cup2.jpg"
        >
        <img
            class="carousel-img"
            src="../assets/home/cup3.jpg"
        >
      </n-carousel>
    </div>
    <!-- 轮播结束 -->
    <!-- 注册开始 -->
<!--    <div class="show-page">-->
<!--      <div class="show-cont ">-->
<!--        <div class="show-box">-->
<!--          <h3>前往登录,遇见有缘人!</h3>-->
<!--          <div class="show-info">-->
<!--            <div class="show-infos gender">-->
<!--              <label for="">性别 </label>-->
<!--              <input type="radio" name="男" id="">男-->
<!--              <input type="radio" name="女" id="">女-->
<!--            </div>-->
<!--            <div class="show-infos school">-->
<!--              <label for="">所属院校 </label>-->
<!--              <select name="" id="">-->
<!--                <option value="">请选择院校</option>-->
<!--                <option value="">人工智能学院</option>-->
<!--              </select>-->
<!--            </div>-->
<!--            <div class="show-infos reg">-->
<!--              <n-button>点击登录</n-button>-->
<!--            </div>-->
<!--            <a href="">立即登录</a>-->
<!--          </div>-->
<!--        </div>-->
<!--      </div>-->
<!--    </div>-->
    <!--长图开始-->
    <div class="show-Img">
      <h4 class="bttn-minimal bttn-md bttn-primary">校园一角</h4>
      <div class="show-Img-list">
        <div class="home-img">
          <img src="../assets/home/cup2.jpg" alt="">
        </div>
        <div class="home-comp">
          夏季热烈的风，总会去拥抱肆意的少年。
        </div>
      </div>
      <hr class="bttn-minimal bttn-md bttn-primary">
      <div class="show-Img-list">
        <div class="home-img">
          <img src="../assets/home/cup1.jpg" alt="">
        </div>
        <div class="home-comp">
          永远喜欢，绿茵场上奔跑的少年，钢琴室里悠扬的琴声，还有每天都在努力的自己。
        </div>
      </div>
      <hr class="bttn-minimal bttn-md bttn-primary">
      <div class="show-Img-list">
        <div class="home-img">
          <img src="../assets/home/cup3.jpg" alt="">
        </div>
        <div class="home-comp">
          少年的心动总是想掩藏却藏不住，伴着夕阳走在跑道上，微风也在诉说青涩的喜欢你。
        </div>
      </div>
    </div>
    <!--长图结束-->
    <!-- 注册结束 -->

  </div>
</template>

<script>
export default {
  name: 'ShowPage',
}
</script>

<style lang="less" scoped>
.carousel-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
.show-info {
  text-align: center;
  padding: 20px;
  .show-infos {
    padding: 10px 0;
  }
  .gender {
    label {
      margin-right: 30px;
    }
    input:last-child {
      margin-left: 20px;
    }
  }
  .school select {
    margin-left: 10px;
    width: 140px;
    border: 1px solid #c8c8c8;
    padding: 4px;
  }
  .reg button {
    background: #fae4e7;
    // background: rgba(85, 169, 246, 0.56);
    // background: rgba(167, 173, 230, 0.8);
    width: 200px;
  }
  a {
    color: #333;
  }
}
.show-cont {
  width: 360px;
  height: 350px;
  .show-box {
    padding: 20px;
    background-color: #fff;
    box-shadow: 1px 1px 10px #eceaea;
    h3 {
      font-family: serif;
      text-align: center;
      border-bottom: 1px solid #c8c8c8;
      padding-bottom: 10px;
    }
  }
}

.home-wrap {
  padding-top: 100px;
  width: 90%;
  margin: 0 auto;
}
//轮播图
.show-carousel{
  padding: 20px 0;
}
//长图
.show-Img{
  padding: 40px 0;
  margin-bottom: 20px;
  h4{
    padding: 10px 0;
    text-align: center;
    font-size: 26px;
    border-bottom: 1px solid #efeded;
  }
  .show-Img-list{
    margin: 20px 0;
    //display: flex;
    //flex-wrap: nowrap;
    .home-img{
      width: 100%;
      height: 500px;
      img{
        width: 100%;
        height: 100%;
      }
    }
    .home-comp{
      font-family: serif;
      text-align: center;
      font-size: 30px;
      color: #7aa1d2;
      padding: 20px 0;
    }
  }
}
</style>